//
//  MyAnnotation.h
//  Project_B
//
//  Created by dllo on 15/12/1.
//  Copyright © 2015年 张闯. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>
@interface MyAnnotation : NSObject<MKAnnotation>
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
// 设定提示窗口标题
@property (nonatomic, copy)NSString *title;
// 设定提示窗口子标题
@property (nonatomic, copy)NSString *subTitle;

//添加初始化方法
- (id)initWithCoordinate:(CLLocationCoordinate2D )coordinate2D;


@end
